home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
vbasic
/
health.exe
/
SUMMARY.FRM
< prev
next >
Wrap
Text File
|
1993-07-23
|
9KB
|
311 lines
VERSION 2.00
Begin Form summary
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
ClientHeight = 4170
ClientLeft = 1020
ClientTop = 1425
ClientWidth = 7305
Height = 4575
Left = 960
LinkMode = 1 'Source
LinkTopic = "Form2"
ScaleHeight = 4170
ScaleWidth = 7305
Tag = "summary"
Top = 1080
Width = 7425
Begin AniPushButton AniButton2
BackColor = &H00FFFFFF&
Height = 480
Left = 4035
PictDrawMode = 1 'Autosize control
Picture = SUMMARY.FRX:0000
Speed = 162
TabIndex = 7
TextPosition = 2 'Left
Top = 3720
Width = 480
End
Begin AniPushButton AniButton1
BackColor = &H00FFFFFF&
Caption = "Back Page"
ForeColor = &H00000000&
Height = 465
Index = 1
Left = 0
Picture = SUMMARY.FRX:05E2
Speed = 162
TabIndex = 6
TextPosition = 1 'Right
Top = 3675
Width = 1515
End
Begin AniPushButton AniButton1
BackColor = &H00FFFFFF&
Caption = "Next Page"
ForeColor = &H00000000&
Height = 465
Index = 0
Left = 5760
Picture = SUMMARY.FRX:148E
Speed = 162
TabIndex = 5
TextPosition = 2 'Left
Top = 3600
Width = 1440
End
Begin AniPushButton AniButton3
BackColor = &H00FFFFFF&
Cycle = 1 'By frame
Height = 480
Index = 0
Left = 4800
PictDrawMode = 1 'Autosize control
Picture = SUMMARY.FRX:233A
TabIndex = 10
Top = 3600
Width = 480
End
Begin PictureBox Picture1
AutoRedraw = -1 'True
Height = 735
Left = 360
ScaleHeight = 705
ScaleWidth = 345
TabIndex = 9
Top = 2160
Width = 375
End
Begin VHedit HEdit2
DelayRecog = -1 'True
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 1575
InflateBottom = 270
InflateLeft = 270
InflateRight = 270
InflateTop = 270
Left = 4080
TabIndex = 8
Top = 1800
Version = 268435458
Width = 2775
End
Begin VHedit HEdit1
DelayRecog = -1 'True
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 2055
InflateBottom = 270
InflateLeft = 270
InflateRight = 270
InflateTop = 270
Left = 960
TabIndex = 0
Top = 1560
Version = 268435458
Width = 2775
End
Begin ListBox List2
BackColor = &H00FF0000&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 630
Left = 3360
TabIndex = 2
Top = 600
Width = 2655
End
Begin ListBox List1
BackColor = &H00FF0000&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 930
Left = 360
TabIndex = 1
Top = 600
Width = 2415
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "COMMENTS"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 495
Left = 3360
TabIndex = 4
Top = 0
Width = 3015
End
Begin Label Label1
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "DIAGNOSIS"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 18
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 495
Left = 120
TabIndex = 3
Top = 0
Width = 2535
End
End
Sub AniButton1_Click (Index As Integer)
If smartform(7) Then
Select Case Index
Case 1
MDIMForm.Show
summary.Hide
Case 0
admit.Picture1.Cls
admit.Picture1.AutoRedraw = -1
admit.Picture1.Scale (0, 0)-(3, 4)
admit.Picture1.CurrentX = .8
admit.Picture1.CurrentY = 1.2
admit.Picture1.Print "CLICK"
admit.Picture1.CurrentX = 1
admit.Picture1.CurrentY = 2
admit.Picture1.Print " TO"
admit.Picture1.CurrentX = .6
admit.Picture1.CurrentY = 2.8
admit.Picture1.Print "RETURN"
admit.Show
summary.Hide
End Select
Else
formcheck "Summary"
End If
End Sub
Sub AniButton2_Click ()
If smartform(7) Then
menumode summary
Else
formcheck "Summary"
End If
End Sub
Sub AniButton3_Click (Index As Integer)
Select Case anibutton3(0).Value
Case 2
screen.MousePointer = 11
Picture1.AutoRedraw = -1
bounce summary, summary.Picture1
Picture1.Picture = Picture1.Image
Picture1.Visible = -1
Picture1.AutoRedraw = 0
screen.MousePointer = 0
hedit1.Visible = 0
hedit2.Visible = 0
Case 1
hedit1.Visible = -1
hedit2.Visible = -1
Picture1.Visible = 0
hedit1.SetFocus
hedit1.SelStart = 0
hedit2.SelStart = 0
'hedit1.sellength = Len(hedit1.text)
'hedit2.sellength = Len(hedit2.text)
hedit1.Refresh
hedit2.Refresh
End Select
End Sub
Sub Form_Load ()
summary.Move 0, 0, screen.Width, screen.Height
anibutton1(1).Move .1 * anibutton1(1).Width, summary.ScaleHeight - 1.1 * anibutton1(1).Height
anibutton2.Move (summary.ScaleWidth - anibutton2.Width) / 2, summary.ScaleHeight - 1.1 * anibutton2.Height
anibutton3(0).Move (summary.ScaleWidth - anibutton2.Width) / 2 + 1.3 * anibutton3(0).Width, summary.ScaleHeight - 1.1 * anibutton2.Height
anibutton1(0).Move summary.ScaleWidth - 1.1 * anibutton1(0).Width, summary.ScaleHeight - 1.1 * anibutton1(0).Height
label1.Move 0, 0, summary.ScaleWidth \ 2, summary.ScaleHeight \ 15
list1.Move 0, label1.Height, summary.ScaleWidth \ 2, summary.ScaleHeight * 2 / 5
hedit1.Move 0, label1.Height + list1.Height, summary.ScaleWidth \ 2.1, summary.ScaleHeight * 2.3 / 5
label2.Move summary.ScaleWidth \ 2, 0, summary.ScaleWidth \ 2, summary.ScaleHeight \ 15
list2.Move summary.ScaleWidth \ 2, label2.Height, summary.ScaleWidth \ 2.1, summary.ScaleHeight * 2 / 5
hedit2.Move summary.ScaleWidth \ 2, label2.Height + list2.Height, summary.ScaleWidth \ 2.1, summary.ScaleHeight * 2.3 / 5
' set up area for bitblt
Picture1.Move 0, label1.Height + list1.Height, summary.ScaleWidth * 1, summary.ScaleHeight * 2.3 / 5
'**********************************************
If restored Then
hedit1.Visible = 0
hedit2.Visible = 0
Picture1.Visible = -1
anibutton3(0).Value = 2
End If
list1.AddItem "Recommendations:"
list1.AddItem ""
list1.AddItem "Critical Care"
list1.AddItem "Intensive Care"
list1.AddItem "Observation"
list1.AddItem "Involuntary Commitment"
list1.AddItem "Shared Room"
list1.AddItem "Sexual Therapy"
list1.AddItem "Voluntary Commitment"
list1.AddItem "Therapeutic Touch"
list1.AddItem "Out-Patient Nursing"
list1.AddItem "Therapeutic Touch"
list1.AddItem "Cleared For Discharge"
list1.AddItem "Hold For The Authorities"
list1.AddItem "Medical Miracle"
list1.AddItem "Private Room"
list1.AddItem "Physical Therapy"
list1.AddItem "Occupational Therapy"
list1.AddItem "Extended Stay"
End Sub
Sub HEdit1_GotFocus ()
'hedit1.Refresh
End Sub
Sub List1_Click ()
list2.AddItem list1.List(list1.ListIndex)
End Sub
Sub List2_Click ()
list2.RemoveItem list2.ListIndex
End Sub